-
Notifications
You must be signed in to change notification settings - Fork 13.4k
build dist for x86_64-pc-solaris and sparcv9-sun-solaris #138699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @marcoieni rustbot has assigned @marcoieni. Use |
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
3b9fbda
to
0deec39
Compare
This comment has been minimized.
This comment has been minimized.
(That being said, thank you for investigating fixes for the Solaris CI) |
☔ The latest upstream changes (presumably #139826) made this pull request unmergeable. Please resolve the merge conflicts. |
0deec39
to
f556156
Compare
Is this ready for review? 👀 |
…cola update libc This is needed for rust-lang#138699 (comment)
Rollup merge of rust-lang#139969 - psumbera:libc-rust-analyzer, r=lnicola update libc This is needed for rust-lang#138699 (comment)
update libc This is needed for rust-lang/rust#138699 (comment)
f556156
to
7152b36
Compare
update libc This is needed for rust-lang/rust#138699 (comment)
BINUTILS_URL="https://ftp.gnu.org/gnu/binutils/$BINUTILS_TAR" | ||
|
||
|
||
download_file() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw this function is duplicated from illuminos-toolchain.sh
Can you move it to a shared script file or similar and source the file? so that we avoid having duplicate code.
Same is true for other parts of the scripts which are very similar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw this function is duplicated from illuminos-toolchain.sh Can you move it to a shared script file or similar and source the file? so that we avoid having duplicate code.
I have moved it into shared.sh
.
Same is true for other parts of the scripts which are very similar
There are no other common functions. While the structure looks similiar I don't think it's good to connect these two more.
Sorry for the wait, I'm having a look now. I'm familiar with the Rust CI in general but not with solaris specifically, so please don't assume I'm familiar with the scripts you edited 👍 From what I can see you are extracting the build of x86_64-solaris and sparcv9-solaris from the The second question is: the dockerfile of Also can you explain how this PR fixes the issue you linked? |
7152b36
to
d5925a8
Compare
I have updated change to use
I was asked in #126025 to do clean up. I decided to clean it up by compleltely removing all Solaris related stuff from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments.
@Kobzol can you have a look at this PR as well?
…rcoieni Increase timeout for new bors try builds To sync it with [homu](https://github.com/rust-lang/homu/blob/master/cfg.production.toml#L34). Saw the timeout [here](rust-lang#138699 (comment)), it was set to only 4 hours for new bors. r? ``@marcoieni``
Rollup merge of #141771 - Kobzol:bors-increase-timeout, r=marcoieni Increase timeout for new bors try builds To sync it with [homu](https://github.com/rust-lang/homu/blob/master/cfg.production.toml#L34). Saw the timeout [here](#138699 (comment)), it was set to only 4 hours for new bors. r? ``@marcoieni``
Increase timeout for new bors try builds To sync it with [homu](https://github.com/rust-lang/homu/blob/master/cfg.production.toml#L34). Saw the timeout [here](rust-lang/rust#138699 (comment)), it was set to only 4 hours for new bors. r? ``@marcoieni``
@bors2 try |
@psumbera: 🔑 Insufficient privileges: not in try users |
@bors2 try |
build dist for x86_64-pc-solaris and sparcv9-sun-solaris <!-- homu-ignore:start --> FIx for #126025 Note that this needs Nix with following commit: nix-rust/nix@0f45593 Unfortunatelly there is no new release. And for sparcv9 it needs also: libffi-rs/libffi-rs#103 For now it therefore uses cargo patch infrastructure for these. <!-- homu-ignore:end --> try-job: dist-sparcv9-solaris try-job: dist-x86_64-solaris
This looks good. I'm trying the other jobs edited by this pr to make sure nothing broke and if the try jobs work I'll approve. @bors2 try |
build dist for x86_64-pc-solaris and sparcv9-sun-solaris <!-- homu-ignore:start --> FIx for #126025 Note that this needs Nix with following commit: nix-rust/nix@0f45593 Unfortunatelly there is no new release. And for sparcv9 it needs also: libffi-rs/libffi-rs#103 For now it therefore uses cargo patch infrastructure for these. <!-- homu-ignore:end --> try-job: dist-sparcv9-solaris try-job: dist-x86_64-solaris try-job: dist-various-2 try-job: dist-x86_64-illumos
@bors r+ |
Rollup of 8 pull requests Successful merges: - #136687 (Improve the documentation of `Display` and `FromStr`, and their interactions) - #137306 (Remove `i128` and `u128` from `improper_ctypes_definitions`) - #138699 (build dist for x86_64-pc-solaris and sparcv9-sun-solaris) - #141250 (add s390x z17 target features) - #141467 (make `OsString::new` and `PathBuf::new` unstably const) - #141871 (index: add method for checking range on DenseBitSet) - #141888 (Use non-2015 edition paths in tests that do not test for their resolution) - #142000 (bootstrap: don't symlink source dir into stage0 sysroot) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #138699 - psumbera:solaris-ci-build3, r=marcoieni build dist for x86_64-pc-solaris and sparcv9-sun-solaris try-job: dist-sparcv9-solaris try-job: dist-x86_64-solaris try-job: dist-various-2 try-job: dist-x86_64-illumos
Rollup of 8 pull requests Successful merges: - rust-lang/rust#136687 (Improve the documentation of `Display` and `FromStr`, and their interactions) - rust-lang/rust#137306 (Remove `i128` and `u128` from `improper_ctypes_definitions`) - rust-lang/rust#138699 (build dist for x86_64-pc-solaris and sparcv9-sun-solaris) - rust-lang/rust#141250 (add s390x z17 target features) - rust-lang/rust#141467 (make `OsString::new` and `PathBuf::new` unstably const) - rust-lang/rust#141871 (index: add method for checking range on DenseBitSet) - rust-lang/rust#141888 (Use non-2015 edition paths in tests that do not test for their resolution) - rust-lang/rust#142000 (bootstrap: don't symlink source dir into stage0 sysroot) r? `@ghost` `@rustbot` modify labels: rollup
Seems that only |
@psumbera Missing changes to build-manifest: https://github.com/rust-lang/rust/blob/master/src/tools/build-manifest/src/main.rs |
…oieni Add solaris targets to build-manifest this is follow up for: rust-lang#138699
…oieni Add solaris targets to build-manifest this is follow up for: rust-lang#138699
FIx for #126025
Note that this needs Nix with following commit:
nix-rust/nix@0f45593
Unfortunatelly there is no new release.
And for sparcv9 it needs also:
libffi-rs/libffi-rs#103
For now it therefore uses cargo patch infrastructure for these.
try-job: dist-sparcv9-solaris
try-job: dist-x86_64-solaris
try-job: dist-various-2
try-job: dist-x86_64-illumos